package pattern11.database;

/**
 * @author wdl
 */
public class Pattern {
    public static void main(String[] args) {
        User user=new User();
        IFactory factory=new AccessFactory();

        IUser iUser=factory.createUser();

        iUser.insert(user);
        iUser.getUser(1);
    }
}
